Undocumented functions of NTDLL

2OOO, 14 December


RtlProtectHeap
RtlProtectHeap

NTSYSAPI 
PVOID
NTAPI

RtlProtectHeap(
IN PVOID HeapHandle, IN BOOLEAN Protect );


HeapHandle
Address of heap.

Protect
If set, memory is protected to PAGE_READONLY. If zero, protect with PAGE_READWRITE.

Return value
Result is address of protected or unprotected heap.




Documented by:
Tomasz Nowak



Requirements:
Library: ntdll.lib


See also:
NtProtectVirtualMemory
RtlLockHeap